home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / ODF / OS / FWGraphx / SLGrDef.h < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.7 KB  |  74 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                SLGrDef.h
  4. ///    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef SLGRDEF_H
  11. #define SLGRDEF_H
  12.  
  13. #ifndef FWSTDDEF_H
  14. #include "FWStdDef.h"
  15. #endif
  16.  
  17. // ----- OpenDoc Includes -----
  18.  
  19. #if !defined(_QDFIX_) && defined(FW_BUILD_MAC)
  20. #include <QDFixM.h>
  21. #endif
  22.  
  23. // ----- Platform Includes -----
  24.  
  25. #if !defined(__TYPES__) && defined(FW_BUILD_MAC)
  26. #include <Types.h>
  27. #endif
  28.  
  29. #if !defined(__LOWMEM__) && defined(FW_BUILD_MAC)
  30. #include <LowMem.h>
  31. #endif
  32.  
  33. #if !defined(__QUICKDRAW__) && defined(FW_BUILD_MAC)
  34. #include <Quickdraw.h>
  35. #endif
  36.  
  37. #if defined(FW_BUILD_WIN) && !defined(_INC_WINDOWS)
  38. #include <windows.h>
  39. #endif
  40.  
  41. #if defined(FW_BUILD_MAC) && !defined(__QDOFFSCREEN__)
  42. #include <QDOffScreen.h>
  43. #endif
  44.  
  45. //========================================================================================
  46. // typedef
  47. //========================================================================================
  48.  
  49. // ----- Macintosh -----
  50.  
  51. #ifdef FW_BUILD_MAC
  52. typedef    PicHandle                FW_PlatformPict;
  53. typedef    GWorldPtr                FW_PlatformBitmap;
  54. typedef    Handle                    FW_PlatformIcon;        // Icon suite
  55. typedef FontInfo                FW_PlatformFontMetrics;
  56. typedef Style                    FW_PlatformFontStyle;
  57. #endif
  58.  
  59. // ----- Windows -----
  60.  
  61. #ifdef FW_BUILD_WIN
  62. typedef    HENHMETAFILE            FW_PlatformPict;
  63. typedef    HBITMAP                    FW_PlatformBitmap;
  64. typedef    HICON                    FW_PlatformIcon;
  65. typedef TEXTMETRIC                FW_PlatformFontMetrics;
  66. typedef LOGFONT                    FW_PlatformFontStyle;
  67.  
  68. typedef BITMAPINFO*                FW_WinDIB;
  69. typedef char*                     FW_WinPixelBufferPtr;
  70. #endif
  71.  
  72. #endif // SLGRDEF_H
  73.  
  74.